<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<!DOCTYPE>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Home</title>

<link href="views/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="views/css/bootstrap-theme.css" rel="stylesheet"
	type="text/css">
<link href="views/css/cover.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="views/js/jquery.min.js"></script>
<script type="text/javascript" src="views/js/bootstrap.min.js"></script>
<script type="text/javascript"
	src="http://markusslima.github.io/bootstrap-filestyle/js/bootstrap-filestyle.min.js"></script>

<script type="text/javascript">
	$(document).ready(function() {
		$(":file").filestyle({
			icon : false
		});
	});
</script>

</head>
<body>
	<div class="site-wrapper">
		<div class="site-wrapper-inner">
			<div class="cover-container">
				<jsp:include page="common/header.jsp"></jsp:include>
				<div class="inner cover">
					<div style="margin: 0 auto; width: 550px;">
						<form:form method="post" action="uploadFile"
							enctype="multipart/form-data" modelAttribute="uploadedFile">
							<table width="100%">
								<tr>
									<td>
									<input type="file" class="filestyle" data-icon="false"
								name="file">
									</td>
								</tr>
								<tr>
									<td>
									&nbsp;
									</td>
								</tr>
								<tr>
									<td align="center">
									<input type="submit" value="UPLOAD" class="btn btn-primary"/>
							<form:errors path="file" />
									</td>
								</tr>
							</table>
							
							
						</form:form>
					</div>
				</div>
				<jsp:include page="common/footer.jsp"></jsp:include>
			</div>
		</div>
	</div>
</body>
</html>